<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core" template="/sistema/template/template.xhtml">

	<ui:param name="nomeTela" value="Registro do Tempo do Atleta" />

	<ui:define name="corpo">
	
		<p:panel styleClass="panelInterno">

			<h:panelGrid style="text-align:left;" width="100%">
				<p:outputLabel value="#{nomeTela}" styleClass="subtitulo" />
			</h:panelGrid>

			<p:spacer height="20" width="100%" />

			<h:panelGrid columns="4" width="100%">

				<p:outputLabel value="Atletas" />

				<p:selectOneMenu>
					<f:selectItem itemLabel="Atleta A" itemValue="0" />
					<f:selectItem itemLabel="Atleta B" itemValue="1" />
					<f:selectItem itemLabel="Atleta C" itemValue="2" />
					<f:selectItem itemLabel="Atleta D" itemValue="3" />
				</p:selectOneMenu>

				<p:outputLabel value="Modalidade" />

				<p:selectOneMenu>
					<f:selectItem itemLabel="Livre ou Crawl" itemValue="0" />
					<f:selectItem itemLabel="Costas" itemValue="1" />
					<f:selectItem itemLabel="Peito" itemValue="2" />
					<f:selectItem itemLabel="Borboleta" itemValue="3" />
					<f:selectItem itemLabel="Revezamento" itemValue="4" />
				</p:selectOneMenu>

				<p:outputLabel value="Evento" />

				<p:selectOneMenu>
					<f:selectItem itemLabel="Treinamento" itemValue="0" />
					<f:selectItem itemLabel="Competicao 1" itemValue="1" />
					<f:selectItem itemLabel="Competicao 2" itemValue="2" />
					<f:selectItem itemLabel="Competicao 3" itemValue="3" />
				</p:selectOneMenu>
				
				<p:outputLabel value="Percurso" />

				<p:selectOneMenu>
					<f:selectItem itemLabel="25m" itemValue="0" />
					<f:selectItem itemLabel="50m" itemValue="1" />
					<f:selectItem itemLabel="100m" itemValue="2" />
				</p:selectOneMenu>
				
				
				<p:outputLabel value="Data" />
				<p:calendar locale="pt" pattern="dd/MM/yyyy"  />
				
				<p:outputLabel value="Tempo" />
				<p:inputText  />

			</h:panelGrid>


			<p:spacer height="30" width="100%" />

			<h:panelGrid style="text-align: right" width="89%">
				<p:column>
					<p:commandButton value="Voltar" action="/sistema/pages/tempo_busca?faces-redirect=true" />
					<p:commandButton value="Salvar" action="/sistema/pages/tempo_busca?faces-redirect=true" />
				</p:column>
			</h:panelGrid>

		</p:panel>

	</ui:define>

</ui:composition>